<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row">
            <form style="margin: 10px 10px 10px 10px" class="layui-form layui-form-pane" id="signupForm">
                <input id="id" name="id" th:value="${temppro.id}" type="hidden">
                <div class="layui-form-item">
                    <label class="layui-form-label">项目名称：</label>
                    <div class="layui-input-block">
                        <input id="proName" name="proName" th:value="${temppro.proName}" class="layui-input" type="text">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">所属企业：</label>
                    <div class="layui-input-block">
                        <select name="shopId" id="shopId" lay-search="">
                            <option value="">请选择所属企业</option>
                            <th:block th:each="d : ${shops}">
                                <option th:value="${d.id}" th:selected="${d.id == temppro.shopId}" th:text="${d.shopName}"></option>
                            </th:block>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">项目说明：</label>
                    <div class="layui-input-block">
                        <textarea name="proIntro" th:text="${temppro.proIntro }" placeholder="这里输入项目说明" class="layui-textarea"></textarea>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" onclick="update()" class="layui-btn layui-btn-lg layui-btn-success" >提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/tempro/detail.js}"></script>
</body>
</html>
